﻿#include "Account.h"
#include <iostream>

Account::Account(std::string name, std::string num, long amnt, const Date& op)
	:open(op), full_name(name), number(num), crnt_balance(amnt)
{
}

void Account::withdraw(long amnt) {
	crnt_balance -= amnt;
}

void Account::deposit(long amnt) {
	crnt_balance += amnt;
}